<%@ Page Language="VB" MasterPageFile="~/HelpDesk.master" AutoEventWireup="false"
    CodeFile="TicketsForm.aspx.vb" Inherits="Admin_TicketsForm" Title="Tickets" Culture="auto"
    meta:resourcekey="PageResource1" UICulture="auto" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="aspAjax" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:SqlDataSource ID="SqlTicket" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
        DeleteCommand="DELETE FROM [Ticket] WHERE [ticket_id] = @ticket_id" InsertCommand="INSERT INTO [Ticket] ([projet_id], [priorite_id], [typeticket_id], [ticket_auteur], [ticket_sujet], [ticket_date], [ticket_client], [ticket_datemodification]) VALUES (@projet_id, @priorite_id, @typeticket_id, @ticket_auteur, @ticket_sujet, GETDATE(), @ticket_client, GETDATE())"
        SelectCommand="SELECT Ticket.ticket_id, Ticket.projet_id, Ticket.priorite_id, Ticket.typeticket_id, Ticket.ticket_auteur, Ticket.ticket_sujet, Ticket.ticket_resolu, Ticket.ticket_date, Ticket.ticket_client, Ticket.ticket_datemodification, Ticket.ticket_dateresolution, TypeTicket.typeticket_label, Priorite.priorite_label, Projet.projet_nom FROM Ticket INNER JOIN TypeTicket ON Ticket.typeticket_id = TypeTicket.typeticket_id INNER JOIN Priorite ON Ticket.priorite_id = Priorite.priorite_id INNER JOIN Projet ON Ticket.projet_id = Projet.projet_id WHERE (Ticket.ticket_id = @ticket_id)"
        UpdateCommand="UPDATE [Ticket] SET [projet_id] = @projet_id, [priorite_id] = @priorite_id, [typeticket_id] = @typeticket_id, [ticket_sujet] = @ticket_sujet, [ticket_client] = @ticket_client, [ticket_datemodification] = GETDATE(), [ticket_dateresolution] = @ticket_dateresolution WHERE [ticket_id] = @ticket_id">
        <SelectParameters>
            <asp:QueryStringParameter Name="ticket_id" QueryStringField="ticket_id" Type="Int32" />
        </SelectParameters>
        <DeleteParameters>
            <asp:Parameter Name="ticket_id" Type="Int32" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="projet_id" Type="Int32" />
            <asp:Parameter Name="priorite_id" Type="Int32" />
            <asp:Parameter Name="typeticket_id" Type="Int32" />
            <asp:Parameter Name="ticket_sujet" Type="String" />
            <asp:Parameter Name="ticket_client" Type="Boolean" />
            <asp:Parameter Name="ticket_dateresolution" Type="DateTime" />
            <asp:Parameter Name="ticket_id" Type="Int32" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="projet_id" Type="Int32" />
            <asp:Parameter Name="priorite_id" Type="Int32" />
            <asp:Parameter Name="typeticket_id" Type="Int32" />
            <asp:Parameter Name="ticket_auteur" Type="String" />
            <asp:Parameter Name="ticket_sujet" Type="String" />
            <asp:Parameter Name="ticket_client" Type="Boolean" />
        </InsertParameters>
    </asp:SqlDataSource>
    <asp:FormView ID="FormViewTicket" runat="server" DataKeyNames="ticket_id" DataSourceID="SqlTicket"
        meta:resourcekey="FormViewTicketResource1">
        <EditItemTemplate>
            <h1>
                <asp:Literal ID="Literal2" runat="server" meta:resourcekey="Literal2Resource1" Text="Modifier le ticket"></asp:Literal>
            </h1>
            <table class="tblFormulaire">
                <tr>
                    <th colspan="6">
                        <asp:Literal ID="Literal3" runat="server" meta:resourcekey="Literal3Resource1" Text="<%$ Resources:Tickets, TicketSubject %>"></asp:Literal>
                    </th>
                </tr>
                <tr>
                    <td colspan="6">
                        <asp:TextBox ID="ticket_sujetTextBox" runat="server" Text='<%# Bind("ticket_sujet") %>'
                            Width="100%" meta:resourcekey="ticket_sujetTextBoxResource1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <th colspan="6">
                        <asp:Literal ID="Literal4" runat="server" meta:resourcekey="Literal4Resource1" Text="<%$ Resources:Tickets, TicketComments %>"></asp:Literal>
                    </th>
                </tr>
                <tr>
                    <td colspan="6">
                        <asp:SqlDataSource ID="SqlCommentaires" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
                            SelectCommand="SELECT [commentaire_id], [commentaire_auteur], [commentaire_contenu], [commentaire_date] FROM [Commentaire] WHERE ([ticket_id] = @ticket_id) ORDER BY [commentaire_date]">
                            <SelectParameters>
                                <asp:QueryStringParameter Name="ticket_id" QueryStringField="ticket_id" Type="Int32" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                        <asp:DataList ID="DataListCommentaires" runat="server" DataKeyField="commentaire_id"
                            DataSourceID="SqlCommentaires" CssClass="commentaire" SkinID="Commentaires" meta:resourcekey="DataListCommentairesResource1">
                            <ItemTemplate>
                                <asp:Panel ID="PanelContenuComm" runat="server" meta:resourcekey="PanelContenuCommResource1">
                                    <blockquote>
                                        <asp:Label ID="commentaire_contenuLabel" runat="server" Text='<%# Eval("commentaire_contenu") %>'
                                            meta:resourcekey="commentaire_contenuLabelResource1"></asp:Label>
                                    </blockquote>
                                </asp:Panel>
                                <asp:Panel ID="PanelTitreComm" runat="server" meta:resourcekey="PanelTitreCommResource1">
                                    <div class="auteur" style="cursor: pointer;">
                                        <asp:Label ID="commentaire_auteurLabel" runat="server" Text='<%# Eval("commentaire_auteur") %>'
                                            meta:resourcekey="commentaire_auteurLabelResource1"></asp:Label>
                                        -
                                        <asp:Label ID="commentaire_dateLabel" runat="server" Text='<%# Eval("commentaire_date", "{0:D}") %>'
                                            meta:resourcekey="commentaire_dateLabelResource1"></asp:Label>
                                        <asp:Literal ID="Literal5" runat="server" meta:resourcekey="Literal5Resource1" Text="<%$ Resources:Tickets, TicketAt %>"></asp:Literal>
                                        <asp:Label ID="Label6" runat="server" Text='<%# Eval("commentaire_date", "{0:t}") %>'
                                            meta:resourcekey="Label6Resource1"></asp:Label>
                                    </div>
                                </asp:Panel>
                                <aspAjax:CollapsiblePanelExtender ID="CollapsiblePanelExtenderComm" runat="server"
                                    CollapseControlID="PanelTitreComm" ExpandControlID="PanelTitreComm" TargetControlID="PanelContenuComm"
                                    Collapsed="True" Enabled="True">
                                </aspAjax:CollapsiblePanelExtender>
                            </ItemTemplate>
                        </asp:DataList>
                    </td>
                </tr>
                <tr>
                    <th>
                        <asp:Literal ID="Literal6" runat="server" meta:resourcekey="Literal6Resource1" Text="<%$ Resources:Tickets, TicketAuthor %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:Label ID="ticket_auteurLabel" runat="server" Text='<%# Eval("ticket_auteur") %>'
                            meta:resourcekey="ticket_auteurLabelResource1"></asp:Label>
                    </td>
                    <th>
                        <asp:Literal ID="Literal7" runat="server" meta:resourcekey="Literal7Resource1" Text="<%$ Resources:Tickets, TicketPriority %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:SqlDataSource ID="SqlPriorite" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
                            SelectCommand="SELECT [priorite_id], [priorite_label] FROM [Priorite] ORDER BY [priorite_ordre]">
                        </asp:SqlDataSource>
                        <asp:DropDownList ID="DropDownListPriorite" runat="server" DataSourceID="SqlPriorite"
                            DataTextField="priorite_label" DataValueField="priorite_id" SelectedValue='<%# Bind("priorite_id") %>'
                            meta:resourcekey="DropDownListPrioriteResource1">
                        </asp:DropDownList>
                    </td>
                    <th>
                        <asp:Literal ID="Literal8" runat="server" meta:resourcekey="Literal8Resource1" Text="<%$ Resources:Tickets, TicketType %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:SqlDataSource ID="SqlType" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
                            SelectCommand="SELECT [typeticket_id], [typeticket_label] FROM [TypeTicket] ORDER BY [typeticket_ordre]">
                        </asp:SqlDataSource>
                        <asp:DropDownList ID="DropDownListType" runat="server" DataSourceID="SqlType" DataTextField="typeticket_label"
                            DataValueField="typeticket_id" SelectedValue='<%# Bind("typeticket_id") %>' meta:resourcekey="DropDownListTypeResource1">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <th>
                        <asp:Literal ID="Literal9" runat="server" meta:resourcekey="Literal9Resource1" Text="<%$ Resources:Tickets, TicketProject %>"></asp:Literal>
                    </th>
                    <td colspan="3">
                        <asp:SqlDataSource ID="SqlProjet" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
                            SelectCommand="SELECT [projet_id], [projet_nom] FROM [Projet] ORDER BY [projet_nom]">
                        </asp:SqlDataSource>
                        <asp:DropDownList ID="DropDownListProjet" runat="server" DataSourceID="SqlProjet"
                            DataTextField="projet_nom" DataValueField="projet_id" SelectedValue='<%# Bind("projet_id") %>'
                            meta:resourcekey="DropDownListProjetResource1">
                        </asp:DropDownList>
                    </td>
                    <td colspan="2">
                        <asp:LinkButton ID="LinkButtonResoudre" runat="server" OnClick="FermerTicket" Visible='<%# Not Eval("ticket_resolu") %>'
                            meta:resourcekey="LinkButtonResoudreResource1" Text="<%$ Resources:Tickets, TicketMarkSolved %>"></asp:LinkButton>
                        <asp:LinkButton ID="LinkButtonReouvrir" runat="server" OnClick="OuvrirTicket" Visible='<%# Eval("ticket_resolu") %>'
                            meta:resourcekey="LinkButtonReouvrirResource1" Text="<%$ Resources:Tickets, TicketMarkUnsolved %>"></asp:LinkButton>
                    </td>
                </tr>
                <tr>
                    <th>
                        <asp:Literal ID="Literal10" runat="server" meta:resourcekey="Literal10Resource1"
                            Text="<%$ Resources:Tickets, TicketDateCreation %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:Label ID="ticket_dateLabel" runat="server" Text='<%# Eval("ticket_date") %>'
                            meta:resourcekey="ticket_dateLabelResource1"></asp:Label>
                    </td>
                    <th>
                        <asp:Literal ID="Literal11" runat="server" meta:resourcekey="Literal11Resource1"
                            Text="<%$ Resources:Tickets, TicketDateModification %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:Label ID="ticket_datemodificationLabel" runat="server" Text='<%# Eval("ticket_datemodification") %>'
                            meta:resourcekey="ticket_datemodificationLabelResource1"></asp:Label>
                    </td>
                    <th>
                        <asp:Literal ID="Literal1" runat="server" Visible='<%# Not Eval("ticket_dateresolution") Is DBNull.Value %>'
                            meta:resourcekey="Literal1Resource1" Text="<%$ Resources:Tickets, TicketDateSolved %>"></asp:Literal></th>
                    <td>
                        <asp:Label ID="ticket_dateresolutionLabel" runat="server" Text='<%# Eval("ticket_dateresolution") %>'
                            meta:resourcekey="ticket_dateresolutionLabelResource1"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="5">
                        <asp:Button ID="UpdateButton" runat="server" CommandName="Update" Text="<%$ Resources:WebResource, ButtonSave %>"
                            meta:resourcekey="UpdateButtonResource1"></asp:Button>
                        <asp:LinkButton ID="LinkButtonCancel" runat="server" CommandName="Cancel" meta:resourcekey="LinkButtonCancelResource1"
                            Text="<%$ Resources:WebResource, ButtonCancel %>"></asp:LinkButton>
                    </td>
                    <td align="right">
                        <asp:CheckBox ID="ticket_clientCheckBox" runat="server" Checked='<%# Bind("ticket_client") %>'
                            Text="<%$ Resources:Tickets, TicketClientVisible %>" meta:resourcekey="ticket_clientCheckBoxResource1" />
                    </td>
                </tr>
            </table>
        </EditItemTemplate>
        <InsertItemTemplate>
            <h1>
                <asp:Literal ID="Literal12" runat="server" meta:resourcekey="Literal12Resource1"
                    Text="Nouveau ticket"></asp:Literal>
            </h1>
            <table class="tblFormulaire">
                <tr>
                    <th colspan="6">
                        <asp:Literal ID="Literal13" runat="server" meta:resourcekey="Literal13Resource1"
                            Text="<%$ Resources:Tickets, TicketSubject %>"></asp:Literal>
                    </th>
                </tr>
                <tr>
                    <td colspan="6">
                        <asp:TextBox ID="ticket_sujetTextBox" runat="server" Text='<%# Bind("ticket_sujet") %>'
                            Width="100%" meta:resourcekey="ticket_sujetTextBoxResource2"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorSujet" runat="server" ControlToValidate="ticket_sujetTextBox"
                            ErrorMessage="*" meta:resourcekey="RequiredFieldValidatorSujetResource1"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th colspan="6">
                        <asp:Literal ID="Literal14" runat="server" meta:resourcekey="Literal14Resource1"
                            Text="<%$ Resources:Tickets, TicketComments %>"></asp:Literal>
                    </th>
                </tr>
                <tr>
                    <td colspan="6">
                        <FCKeditorV2:FCKeditor ID="FCKeditorCommentaire" runat="server" ToolbarSet="HelpDesk"
                            Height="200px" Width="100%">
                        </FCKeditorV2:FCKeditor>
                    </td>
                </tr>
                <tr>
                    <th>
                        <asp:Literal ID="Literal15" runat="server" meta:resourcekey="Literal15Resource1"
                            Text="<%$ Resources:Tickets, TicketAuthor %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:Label ID="ticket_auteurLabel" runat="server" Text='<%# HttpContext.Current.User.Identity.Name %>'
                            meta:resourcekey="ticket_auteurLabelResource2"></asp:Label>
                    </td>
                    <th>
                        <asp:Literal ID="Literal16" runat="server" meta:resourcekey="Literal16Resource1"
                            Text="<%$ Resources:Tickets, TicketPriority %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:SqlDataSource ID="SqlPriorite" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
                            SelectCommand="SELECT [priorite_id], [priorite_label] FROM [Priorite] ORDER BY [priorite_ordre]">
                        </asp:SqlDataSource>
                        <asp:DropDownList ID="DropDownListPriorite" runat="server" DataSourceID="SqlPriorite"
                            DataTextField="priorite_label" DataValueField="priorite_id" SelectedValue='<%# Bind("priorite_id") %>'
                            meta:resourcekey="DropDownListPrioriteResource2">
                        </asp:DropDownList>
                    </td>
                    <th>
                        <asp:Literal ID="Literal17" runat="server" meta:resourcekey="Literal17Resource1"
                            Text="<%$ Resources:Tickets, TicketType %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:SqlDataSource ID="SqlType" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
                            SelectCommand="SELECT [typeticket_id], [typeticket_label] FROM [TypeTicket] ORDER BY [typeticket_ordre]">
                        </asp:SqlDataSource>
                        <asp:DropDownList ID="DropDownListType" runat="server" DataSourceID="SqlType" DataTextField="typeticket_label"
                            DataValueField="typeticket_id" SelectedValue='<%# Bind("typeticket_id") %>' meta:resourcekey="DropDownListTypeResource2">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <th>
                        <asp:Literal ID="Literal18" runat="server" meta:resourcekey="Literal18Resource1"
                            Text="<%$ Resources:Tickets, TicketProject %>"></asp:Literal>
                    </th>
                    <td colspan="5">
                        <asp:SqlDataSource ID="SqlProjet" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
                            SelectCommand="SELECT [projet_id], [projet_nom] FROM [Projet] ORDER BY [projet_nom]">
                        </asp:SqlDataSource>
                        <asp:DropDownList ID="DropDownListProjet" runat="server" DataSourceID="SqlProjet"
                            DataTextField="projet_nom" DataValueField="projet_id" SelectedValue='<%# Bind("projet_id") %>'
                            meta:resourcekey="DropDownListProjetResource2">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="5">
                        <asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="<%$ Resources:WebResource, ButtonSave %>"
                            meta:resourcekey="InsertButtonResource1"></asp:Button>
                        <a href="Tickets.aspx">
                            <asp:Literal ID="Literal19" runat="server" meta:resourcekey="Literal19Resource1"
                                Text="<%$ Resources:WebResource, ButtonCancel %>"></asp:Literal></a>
                    </td>
                    <td align="right">
                        <asp:CheckBox ID="ticket_clientCheckBox" runat="server" Checked='<%# Bind("ticket_client") %>'
                            Text="<%$ Resources:Tickets, TicketClientVisible %>" meta:resourcekey="ticket_clientCheckBoxResource2" />
                    </td>
                </tr>
            </table>
        </InsertItemTemplate>
        <ItemTemplate>
            <h1>
                <asp:Literal ID="Literal20" runat="server" meta:resourcekey="Literal20Resource1"
                    Text="Voir le ticket"></asp:Literal>
            </h1>
            <table class="tblFormulaire">
                <tr>
                    <th colspan="6">
                        <asp:Literal ID="Literal21" runat="server" meta:resourcekey="Literal21Resource1"
                            Text="<%$ Resources:Tickets, TicketSubject %>"></asp:Literal>
                    </th>
                </tr>
                <tr>
                    <td colspan="6">
                        <asp:Label ID="Label5" runat="server" Text='<%# Eval("ticket_sujet") %>' meta:resourcekey="Label5Resource1"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th colspan="6">
                        <asp:Literal ID="Literal22" runat="server" meta:resourcekey="Literal22Resource1"
                            Text="<%$ Resources:Tickets, TicketComments %>"></asp:Literal>
                    </th>
                </tr>
                <tr>
                    <td colspan="6">
                        <asp:SqlDataSource ID="SqlCommentaires" runat="server" ConnectionString="<%$ ConnectionStrings:HelpDeskCS %>"
                            SelectCommand="SELECT [commentaire_id], [commentaire_auteur], [commentaire_contenu], [commentaire_date] FROM [Commentaire] WHERE ([ticket_id] = @ticket_id) ORDER BY [commentaire_date]">
                            <SelectParameters>
                                <asp:QueryStringParameter Name="ticket_id" QueryStringField="ticket_id" Type="Int32" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                        <asp:DataList ID="DataListCommentaires" runat="server" DataKeyField="commentaire_id"
                            DataSourceID="SqlCommentaires" CssClass="commentaire" SkinID="Commentaires" meta:resourcekey="DataListCommentairesResource2">
                            <ItemTemplate>
                                <blockquote>
                                    <asp:Label ID="commentaire_contenuLabel" runat="server" Text='<%# Eval("commentaire_contenu") %>'
                                        meta:resourcekey="commentaire_contenuLabelResource2"></asp:Label>
                                </blockquote>
                                <div class="auteur">
                                    <asp:Label ID="commentaire_auteurLabel" runat="server" Text='<%# Eval("commentaire_auteur") %>'
                                        meta:resourcekey="commentaire_auteurLabelResource2"></asp:Label>
                                    -
                                    <asp:Label ID="commentaire_dateLabel" runat="server" Text='<%# Eval("commentaire_date", "{0:D}") %>'
                                        meta:resourcekey="commentaire_dateLabelResource2"></asp:Label>
                                    <asp:Literal ID="Literal32" runat="server" meta:resourcekey="Literal32Resource1"
                                        Text="<%$ Resources:Tickets, TicketAt %>"></asp:Literal>
                                    <asp:Label ID="Label6" runat="server" Text='<%# Eval("commentaire_date", "{0:t}") %>'
                                        meta:resourcekey="Label6Resource2"></asp:Label>
                                </div>
                            </ItemTemplate>
                        </asp:DataList>
                        <asp:Panel runat="server" ID="PanelTitreNouveauCommentaire" CssClass="titrePanelDeroulant"
                            meta:resourcekey="PanelTitreNouveauCommentaireResource1">
                            <asp:Literal ID="Literal23" runat="server" meta:resourcekey="Literal23Resource1"
                                Text="Nouveau commentaire"></asp:Literal>
                        </asp:Panel>
                        <asp:Panel runat="server" ID="PanelNouveauCommentaire" CssClass="panelDeroulant"
                            meta:resourcekey="PanelNouveauCommentaireResource1">
                            <FCKeditorV2:FCKeditor ID="FCKeditorNouveauCommentaire" runat="server" ToolbarSet="HelpDesk"
                                Height="200px" Width="100%">
                            </FCKeditorV2:FCKeditor>
                            <asp:Button ID="ButtonNouveauCommentaire" runat="server" Text="<%$ Resources:WebResource, ButtonSave %>"
                                OnClick="NouveauCommentaire" meta:resourcekey="ButtonNouveauCommentaireResource1" />
                        </asp:Panel>
                        <aspAjax:CollapsiblePanelExtender ID="CollapsiblePanelExtenderCommentaire" runat="server"
                            CollapseControlID="PanelTitreNouveauCommentaire" ExpandControlID="PanelTitreNouveauCommentaire"
                            TargetControlID="PanelNouveauCommentaire" Collapsed="True" Enabled="True">
                        </aspAjax:CollapsiblePanelExtender>
                    </td>
                </tr>
                <tr>
                    <th>
                        <asp:Literal ID="Literal24" runat="server" meta:resourcekey="Literal24Resource1"
                            Text="<%$ Resources:Tickets, TicketAuthor %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text='<%# Eval("ticket_auteur") %>' meta:resourcekey="Label1Resource1"></asp:Label>
                    </td>
                    <th>
                        <asp:Literal ID="Literal25" runat="server" meta:resourcekey="Literal25Resource1"
                            Text="<%$ Resources:Tickets, TicketPriority %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("priorite_label") %>' meta:resourcekey="Label2Resource1"></asp:Label>
                    </td>
                    <th>
                        <asp:Literal ID="Literal26" runat="server" meta:resourcekey="Literal26Resource1"
                            Text="<%$ Resources:Tickets, TicketType %>"></asp:Literal>
                    </th>
                    <td>
                        <asp:Label ID="Label3" runat="server" Text='<%# Eval("typeticket_label") %>' meta:resourcekey="Label3Resource1"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <th>
                        <asp:Literal ID="Literal27" runat="server" meta:resourcekey="Literal27Resource1"
                            Text="<%$ Resources:Tickets, TicketProject %>"></asp:Literal>
                    </th>
                    <td colspan="4">
                        <asp:Label ID="Label4" runat="server" Text='<%# Eval("projet_nom") %>' meta:resourcekey="Label4Resource1"></asp:Label>
                    </td>
                    <td>
                        <asp:CheckBox ID="ticket_resoluCheckBox" runat="server" Checked='<%# Bind("ticket_resolu") %>'
                            Text="<%$ Resources:Tickets, TicketSolved %>" Enabled="False" meta:resourcekey="ticket_resoluCheckBoxResource1" />
                    </td>
                </tr>
                <tr>
                    <th style="height: 20px">
                        <asp:Literal ID="Literal28" runat="server" meta:resourcekey="Literal28Resource1"
                            Text="<%$ Resources:Tickets, TicketDateCreation %>"></asp:Literal>
                    </th>
                    <td style="height: 20px">
                        <asp:Label ID="ticket_dateLabel" runat="server" Text='<%# Eval("ticket_date") %>'
                            meta:resourcekey="ticket_dateLabelResource2"></asp:Label>
                    </td>
                    <th style="height: 20px">
                        <asp:Literal ID="Literal29" runat="server" meta:resourcekey="Literal29Resource1"
                            Text="<%$ Resources:Tickets, TicketDateModification %>"></asp:Literal>
                    </th>
                    <td style="height: 20px">
                        <asp:Label ID="ticket_datemodificationLabel" runat="server" Text='<%# Bind("ticket_datemodification") %>'
                            meta:resourcekey="ticket_datemodificationLabelResource2"></asp:Label>
                    </td>
                    <th style="height: 20px">
                        <asp:Literal ID="Literal30" runat="server" meta:resourcekey="Literal30Resource1"
                            Text="<%$ Resources:Tickets, TicketDateSolved %>"></asp:Literal>
                    </th>
                    <td style="height: 20px">
                        <asp:Label ID="ticket_dateresolutionLabel" runat="server" Text='<%# Bind("ticket_dateresolution") %>'
                            meta:resourcekey="ticket_dateresolutionLabelResource2"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="5">
                        <asp:Button ID="ModifierButton" runat="server" OnClick="ModifierTicket" Text="Modifier"
                            CausesValidation="False" meta:resourcekey="Literal2Resource1"></asp:Button>
                        <a href="Tickets.aspx">
                            <asp:Literal ID="Literal31" runat="server" meta:resourcekey="Literal31Resource1"
                                Text="<%$ Resources:WebResource, ButtonCancel %>"></asp:Literal></a>
                    </td>
                    <td align="right">
                        <asp:CheckBox ID="ticket_clientCheckBox" runat="server" Checked='<%# Bind("ticket_client") %>'
                            Text="<%$ Resources:Tickets, TicketClientVisible %>" Enabled="False" meta:resourcekey="ticket_clientCheckBoxResource3" />
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:FormView>
</asp:Content>
